Skip to main content

unlock menus

Type​

command

Summary​

Sets the lockMenus property to false, so the menu bar is updated when the menus are changed.

Syntax​

unlock menus

Description​

Use the unlock menus command to show changes in the menu bar to the user.

The unlock menus command sets the lockMenus property to false.

When all pending handlers are finished executing, the lockMenus property is set to false, undoing the lock menus command's action. Any changes made to the menus become visible to the user.

Examples​

unlock menus
if the lockScreen is false then unlock menus

command: lock menus

function: menus

glossary: property, undo, menu bar, command

property: lockMenus

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

Thank you for your feedback!

Was this page helpful?